package com.yc.cloud.wechat.pay.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Data
@Component
@ConfigurationProperties(prefix = "wx.pay")
public class WxPayConfig {
    //小程序appid
    private String appIdMini;

    //移动端appid
    private String appIdMobile;
    //商户号
    private String merchantId;
    //商户API私钥
    private String privateKey;
    //商户证书序列号
    private String merchantSerialNumber;
    //商户APIv3密钥
    private String apiV3Key;
    //支付通知地址
    private String payNotifyUrl;
    //价格,单位分,需要乘以100
    private Integer price;
}
